<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmListadePrecios.aspx.vb" Inherits="TGB.FrmListadePrecios" 
    title="Lista de Precios" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="DIV1" style="width: 100%; height: 18px; text-align: left; background-color: #4a3c8c;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Lista de Precios" Font-Underline="False" Height="8px" Width="195px" style="text-align: center" Font-Bold="False" ForeColor="White"></asp:Label>
        </div><hr /> 
    <div style="width: 99%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 730px; height: 82px; text-align: center;" >
        <tr>
            <td align="right" style="width: 13%; height: 14px;">
                Fecha Inicial:</td>
            <td style="width: 30%; height: 14px;" align="left" >
                <BDP:BasicDatePicker ID="DPFechaInicial" runat="server" DateFormat="dd-MM-yyyy" DisplayType="TextBox">
                </BDP:BasicDatePicker>
                <asp:RequiredFieldValidator ID="RQObligatorio" runat="server" ControlToValidate="DPFechaInicial" Width="39px" ValidationGroup="Guardar">(*)</asp:RequiredFieldValidator></td>
            <td align="right" style="width: 12%; height: 14px;">
                Tipo&nbsp; Unidad:</td>
            <td style="height: 14px; width: 104%;" align="left" >
                <asp:DropDownList ID="CboTipoUnidad" runat="server" CssClass="campotxt" Width="229px" AppendDataBoundItems="True">
                    <asp:ListItem Value="-1">Seleccionar</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 13%; height: 20px;">
                Valor KM:</td>
            <td style="width: 30%; height: 20px;" align="left" >
                <asp:TextBox ID="TxtValorKm" runat="server" CssClass="campotxt" Width="150px"></asp:TextBox></td>
            <td align="right" style="width: 12%; height: 20px;">
                Estado</td>
            <td style="width: 104%; height: 20px;" align="left" ><asp:DropDownList ID="CboEstado" runat="server" CssClass="campotxt" Width="229px">
                <asp:ListItem Value="-1">Seleccionar</asp:ListItem>
                <asp:ListItem>Activa</asp:ListItem>
                <asp:ListItem>Inactiva</asp:ListItem>
            </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 13%; height: 13px;">
                Valor HS:</td>
            <td style="width: 30%; height: 13px;" align="left" >
                <asp:TextBox ID="TxtValorHs" runat="server" CssClass="campotxt" Width="150px"></asp:TextBox></td>
            <td align="right" style="width: 12%; height: 13px;">
                </td>
            <td style="width: 104%; height: 13px;" align="left" >
                </td>
        </tr>
        <tr>
            <td align="right" colspan="4" style="height: 21px">
                <asp:HiddenField ID="HFListadePrecios" runat="server" />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp;&nbsp;
                <br />
<%-- <<<<<< .mine--%>
                <asp:Label ID="LblError" runat="server" Text="(*) Campos Obligatorios" ForeColor="Red"></asp:Label>
                <asp:LinkButton ID="LnkNuevo" runat="server">Nuevo</asp:LinkButton>
                /<asp:LinkButton ID="LnkGuardar" runat="server" ValidationGroup="Guardar">Guardar</asp:LinkButton> /
                <asp:LinkButton ID="LnkEliminar" runat="server">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="LnkBuscar" runat="server">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="LnkCancelar" runat="server">Cancelar</asp:LinkButton>
                <%--=======
                <br />
                <asp:LinkButton ID="LnkNuevo" runat="server" CssClass="BotonLink">Nuevo</asp:LinkButton>
                /<asp:LinkButton ID="LnkGuardar" runat="server" CssClass="BotonLink">Guadar</asp:LinkButton> /
                <asp:LinkButton ID="LnkEliminar" runat="server" CssClass="BotonLink">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="LnkBuscar" runat="server" CssClass="BotonLink">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="LnkCancelar" runat="server" CssClass="BotonLink">Cancelar</asp:LinkButton>
                <%-->>>>>>> .r288--%>
            
            </td>
        </tr>
        
    </table>
        </div>
    <hr />
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GVListaDePrecios" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackColor="White" BorderColor="#E7E7FF"
            BorderWidth="1px" CellPadding="3" CssClass="tabla" GridLines="Horizontal" PageSize="25" Style="width: 100%" Width="3056px" BorderStyle="None">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LnkSeleccionar" runat="server" CausesValidation="False" CommandName="Select"
                            Text="Ver"></asp:LinkButton>
                        <asp:HiddenField ID="HFCodigoLista" runat="server" Value='<%# bind("CodigoLista") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Fecha Inicial">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("FechaInicial") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblFechaInicial" runat="server" Text='<%# Bind("FechaInicial") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="ValorKm">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("ValorKM") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LblValorKm" runat="server" Text='<%# Bind("ValorKM") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="ValorHs">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("ValorHs") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LblValorHs" runat="server" Text='<%# Bind("ValorHs") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Estado">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("Estado") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LblEstado" runat="server" Text='<%# Bind("Estado") %>'></asp:Label>
                        <asp:HiddenField ID="HFTipoUnidad" runat="server" Value='<%# bind("codigoTunidad") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="#738A9C" ForeColor="#F7F7F7" Font-Bold="True" />
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <AlternatingRowStyle BackColor="#F7F7F7" />
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        </asp:GridView>
    </div>


</asp:Content>
